| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /** |
||
| 55 | $(document).ready(function () { |
||
| 56 | /** |
||
| 57 | * We have to be in the Files App! |
||
| 58 | */ |
||
| 59 | if(!OCA.Files){ // we don't have the files app, so ignore anything |
||
| 60 | return; |
||
| 61 | } |
||
| 62 | if(/(public)\.php/i.exec(window.location.href)!=null){ |
||
| 63 | return; // escape when the requested file is public.php |
||
| 64 | } |
||
| 65 | /** global: OCA */ |
||
| 66 | OCA.Ocr.App.initialize(); |
||
| 67 | }); |
||
| 68 | /** global: OC */ |
||
| 69 | })(OC, window, jQuery); |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.